<?php
/**
 * Created by PhpStorm.
 * User: yandian
 * Date: 2017/4/9
 * Time: 13:31
 */

namespace app\weixin\controller;


use app\common\controller\LiteBase;
use app\common\model\Consult;
use app\common\model\ServiceGuide;

class Index extends LiteBase
{
    public function index()
    {
        return $this->fetch();
    }

    public function serviceguide()
    {
        $this->assign('m', ServiceGuide::instance()->order('sort desc,id asc')->select());
        return $this->fetch();
    }

    public function consult()
    {
        $this->assign('m', Consult::instance()->order('sort desc,id asc')->select());
        return $this->fetch();
    }

    public function contactus()
    {
        return $this->fetch();
    }
}